﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;

namespace TJBHJJ.ActionFilter
{
    /// <summary>
    /// 为Action添加Filter，但此类并没有什么
    /// 使用Filter的Simple如下
    /// [ActionFilters]
    /// public ActionResult Index()
    /// {
    ///     return View();
    /// }
    /// </summary>
    public class ActionFilters:ActionFilterAttribute
    {
        public override void OnActionExecuting(ActionExecutingContext filterContext)
        {
            base.OnActionExecuting(filterContext);
        }
        public override void OnActionExecuted(ActionExecutedContext filterContext)
        {
            base.OnActionExecuted(filterContext);
        }
        public override void OnResultExecuting(ResultExecutingContext filterContext)
        {
            base.OnResultExecuting(filterContext);
        }
        public override void OnResultExecuted(ResultExecutedContext filterContext)
        {
            base.OnResultExecuted(filterContext);
        }
    }
}